Skip to main content

All Questions

0votes
2answers
153views

In Angular JS, is there a way to watch for changes to the DOM without using scope.watch?

I am attempting to create an angularjs bootstrap accordion that scrolls the accordion to the top when opened. These solutions are close to what I would like to do: AngularJS / ui-bootstrap accordion ...
maverick's user avatar
1vote
0answers
357views

How to reuse modal as a confirm dialog for delete actions from controllers in AngularJS?

I'm having some controllers, both of them also have a delete function trigger by the ng-click and when delete function is called, i'll show a js confirm dialog to alert user about the object they're ...
Steven Dang's user avatar
-1votes
1answer
982views

Angular custom directive to use an if condition in ng-repeat

I am using panels to display the response which is dynamic in nature. I want to differentiate the panels using 2 different colors i.e., if the response has a status of positive, the panel or panel's ...
JESSIE's user avatar
0votes
1answer
327views

Pass data to uib-accordion-group

I Have the following code: <div uib-accordion-group class="panel-default" is-open="isOpen" template-url="group-template.html"> <uib-accordion-heading> Custom Title </...
Alex's user avatar
  • 131
0votes
1answer
289views

put data from my json file in ui-bootstrap carousel

i want to my put http json files in slides.push(). so here i used ui.bootstrap.carousel , and i want to set image in my html . So how can i do it . can someone help me? .controller('...
bryanghsb's user avatar
0votes
1answer
236views

Is it possible to disable the auto update on timepicker?

Im using angular-ui-bootstrap for user to enter a date, but this date is being inserted with the current date and i would like to remove this functionality, is this even possible? Thanks in advance ...
João Santos's user avatar
1vote
0answers
235views

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.9/$injector/modulerr?p0=

When i need to migrate bootstrap from 0.14 to 2.5, i got this error. When i put angular-ui-bootstrap 0.14 it works but not when i change js of 2.5. I'm new and need a help. Thanks Uncaught Error: [$...
Chems Ben Youssef's user avatar
-1votes
2answers
2kviews

How to search using tags in angularjs

I wanted my search box to search using tags which I have illustrated below with the image. I have tried using bootstrap tags it doesn't work for me. This is how my search should look like
Bhargavi Abhirami's user avatar
0votes
0answers
160views

Allowing multiple directives to transclude in a recursive template

I am currently receiving a tree of managers and their subordinates from the back end. I'm using a recursive template to display this. <script type="text/ng-template" id="managerTmp"> ...
oxygenplug's user avatar
2votes
1answer
3kviews

How to return results from a $uibModal to parent controller

scope is undefined after callback from $uibModal I have a directive (Angularjs) that has a controller, from there I am calling an uibModal where I want to modify some details of an object where I ...
Dayán Ruiz's user avatar
1vote
0answers
499views

In AngularJS validation, I want to display error message with ui-bootstrap tooltip

environment AnuglarJS 1.6x ui-bootstrap2.5 I want to display error messages with tool tip on validation with AngularJS. I am referring to the directive created by the following jQuery and bootstrap....
kazunnakam's user avatar
0votes
1answer
2kviews

$parse Syntax Error when binding Angular Expression to Directive Attribute

Can't bind attributes on template using directive I can't seem to bind attributes on the templates using directives. Any help or suggestion would be great! It is giving me this error: [$parse:syntax] ...
Ron's user avatar
  • 59
0votes
0answers
172views

Watch functions accumulate when Angular UI modal is opened

I have the following code in a directive. The directive is included in an Angular UI modal: var watchObjects = function(){ scope.vars.forEach(function(elem,i){ scope.$watch('vars['...
ps0604's user avatar
  • 1,101
5votes
3answers
2kviews

Avoid using $timeout in Angular UI Modal

In this plunk I have an Angular UI Modal wrapped in a directive. From the controller, I call a method to open the modal, but to do so I need to use $timeout, otherwise, the DOM hasn't finished ...
ps0604's user avatar
  • 1,101
1vote
1answer
280views

Save Form data from Popover in Angularjs

var App = angular.module('myApp', []); App.controller('myPopoverCtrl', function($scope){ $scope.myPopover = { isOpen: false, open: function open() { $...
siva sandeep's user avatar

153050per page
close